package com.lbj.domain;

import java.io.Serializable;

public class Topic implements Serializable {
    private String id;
    private String title;
    private String content;
    private String status;
    private String createTime;
    private String createBy;
    private  int browseCount;
    private int thumbsCount;
    private int commentCount;
    private int collectionCount;

    private String thumbsId ;
    private String collectionId;

    public Topic() {
    }

    public Topic(String id, String title, String content, String status, String createTime, String createBy,
                 int browseCount, int thumbsCount, int collectionCount, int commentCount, String thumbsId, String collectionId) {
        this.id = id;
        this.title = title;
        this.content = content;
        this.status = status;
        this.createTime = createTime;
        this.createBy = createBy;
        this.browseCount = browseCount;
        this.thumbsCount = thumbsCount;
        this.collectionCount = collectionCount;
        this.commentCount = commentCount;
        this.thumbsId = thumbsId;
        this.collectionId = collectionId;
    }

    public int getCollectionCount() {
        return collectionCount;
    }

    public void setCollectionCount(int collectionCount) {
        this.collectionCount = collectionCount;
    }

    public String getThumbsId() {
        return thumbsId;
    }

    public void setThumbsId(String thumbsId) {
        this.thumbsId = thumbsId;
    }

    public String getCollectionId() {
        return collectionId;
    }

    public void setCollectionId(String collectionId) {
        this.collectionId = collectionId;
    }


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public int getBrowseCount() {
        return browseCount;
    }

    public void setBrowseCount(int browseCount) {
        this.browseCount = browseCount;
    }

    public int getThumbsCount() {
        return thumbsCount;
    }

    public void setThumbsCount(int thumbsCount) {
        this.thumbsCount = thumbsCount;
    }

    public int getCommentCount() {
        return commentCount;
    }

    public void setCommentCount(int commentCount) {
        this.commentCount = commentCount;
    }

    @Override
    public String toString() {
        return "Topic{" +
                "id='" + id + '\'' +
                ", title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", status='" + status + '\'' +
                ", createTime='" + createTime + '\'' +
                ", createBy='" + createBy + '\'' +
                ", browseCount=" + browseCount +
                ", thumbsCount=" + thumbsCount +
                ", commentCount=" + commentCount +
                ", thumbsId='" + thumbsId + '\'' +
                ", collectionId='" + collectionId + '\'' +
                '}';
    }
}
